package Homework4;

public class Book {
    private String name, author, isbn;
    private double price;

    public Book(String name, String author, String isbn, double price){
        this.name = name;
        this.author = author;
        this.isbn = isbn;
        this.price = price;
    }

    public String getName(){
        return name;
    }

    public String getAuthor(){
        return author;
    }

    public String getIsbn(){
        return isbn;
    }

    public double getPrice() {
        return price;
    }
}
